package com.yuki.provider.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.yuki.api.model.UmsLog;
import com.yuki.api.service.IUmsLogService;
import com.yuki.provider.mapper.UmsLogMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

/**
 * @description:
 * @author: Yuki Tadayoshi
 * @time: 2021/3/27 17:46
 */
@Service(
        version ="1.0.0",
        interfaceName = "com.yuki.api.service.IUmsLogService",
        interfaceClass = IUmsLogService.class
)
@Transactional
public class UmsLogServiceImpl implements IUmsLogService {
    @Autowired
    private UmsLogMapper dao;

    @Override
    public Integer insert(UmsLog log) {
        return dao.insert(log);
    }
}
